﻿<Window x:Class="SenenFernandez.Sensktop.MainView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Name="View" Title="{Binding Title}"
        Style="{StaticResource MainViewStyle}">
    <DockPanel LastChildFill="False">
        <Button DockPanel.Dock="Right" Command="{Binding CloseCommand}" CommandParameter="{Binding ElementName=View}" Style="{StaticResource DefaultButton}">
            <Button.Content>
                <Image Source="{StaticResource CloseImage}" />
            </Button.Content>
        </Button>
        <ContentControl Template="{StaticResource NotificationArea}" DockPanel.Dock="Right" />
        <Button Style="{StaticResource ToolButton}" Command="{Binding OpenTaskManagerCommand}" DockPanel.Dock="Right">
            <Image Source="{StaticResource TaskManagerImage}" />
        </Button>
        <ContentControl Template="{StaticResource ToolbarPanelTemplate}" />
    </DockPanel>
</Window>